package entities;

import java.sql.Time;
import java.util.Date;
import java.util.Set;
import javax.persistence.Entity;
import javax.persistence.Table;

import abstractEntities.AbstractTutorial;

/**
 * Tutorial entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tutorial", catalog = "skillworld")
public class Tutorial extends AbstractTutorial implements java.io.Serializable {

	// Constructors

	/**
	 * 
	 */
	private static final long serialVersionUID = 2682902385171381978L;

	/** default constructor */
	public Tutorial() {
	}

	/** minimal constructor */
	public Tutorial(User userByIdValidator, Departament departament,
			User userByIdAuthor, Language language, Date creationDate,
			Integer level, Time duration, Integer validationFlag,
			Integer totalPoints, Integer magnitude, String materialsInfo,
			String name, String contXml, String introduction, Integer views) {
		super(userByIdValidator, departament, userByIdAuthor, language,
				creationDate, level, duration, validationFlag, totalPoints,
				magnitude, materialsInfo, name, contXml, introduction, views);
	}

	/** full constructor */
	public Tutorial(User userByIdValidator, Departament departament,
			User userByIdAuthor, Tutorial tutorial, Language language,
			Date creationDate, Integer level, Time duration,
			Integer validationFlag, Integer totalPoints, Date validationDate,
			Integer magnitude, String materialsInfo, String name,
			String contXml, String introduction, Integer views,
			Set<Tutorialranking> tutorialrankingsForIdTutorial5,
			Set<Tutorialranking> tutorialrankingsForIdTutorial4,
			Set<Tutorialranking> tutorialrankingsForIdTutorial3,
			Set<Tutorialranking> tutorialrankingsForIdTutorial2,
			Set<Tutorial> tutorials, Set<Complaint> complaints,
			Set<Tutorialranking> tutorialrankingsForIdTutorial1,
			Set<Boedep> boedepsForIdTutorial1, Set<Usertutorial> usertutorials,
			Set<Boedep> boedepsForIdTutorial3,
			Set<Boedep> boedepsForIdTutorial2,
			Set<Boedep> boedepsForIdTutorial5, Set<Boedep> boedepsForIdTutorial4) {
		super(userByIdValidator, departament, userByIdAuthor, tutorial,
				language, creationDate, level, duration, validationFlag,
				totalPoints, validationDate, magnitude, materialsInfo, name,
				contXml, introduction, views, tutorialrankingsForIdTutorial5,
				tutorialrankingsForIdTutorial4, tutorialrankingsForIdTutorial3,
				tutorialrankingsForIdTutorial2, tutorials, complaints,
				tutorialrankingsForIdTutorial1, boedepsForIdTutorial1,
				usertutorials, boedepsForIdTutorial3, boedepsForIdTutorial2,
				boedepsForIdTutorial5, boedepsForIdTutorial4);
	}

}
